package com.example.demo.widget.chart

/**
 * 半圆形统计图数据
 *
 * @author wangheng
 */
class ChartData(val totalName: String, val totalValue: String, val itemList: ArrayList<ChartItem>) {
    fun getItemValueTotal(): Float {
        var total = 0.0f
        itemList.forEach { total += it.value }
        return total
    }
}